FROM centos:latest
MAINTAINER "chenzhenjia <chzhenjia@gmail.com>"
ADD ./ssserver.json /etc/
RUN yum install -y python-setuptools && easy_install pip && pip install shadowsocks && rm -fr /tmp/* && chmod 755 /etc/ssserver.json
ADD ./entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]